package com.zy.chat.entity;

import cn.hutool.core.date.DateTime;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.experimental.Accessors;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author zy
 * @date 2023/5/17 17:11
 */

@Data
@Accessors
public class Comments {


    @TableId(type = IdType.AUTO)
    private Long id;
    private String username;
    private Long parentId;
    private Long answerId;
    private String content;
    private Integer liked;
    private Timestamp createTime;
    private Timestamp updateTime;
    private int dyId;
}
